package interfacetest;

import java.util.function.Consumer;

public class ConsumerTest {
    public static void main(String[] args) {
        hand(100, System.out::println);
    }

    public static void hand(Integer number , Consumer<Integer> consumer){
        consumer.accept(number);
    }
}
